@import "@/styles/variables.scss";

.container {
  margin-bottom: 20px;
  @include normalFlex(column, center);
  align-items: center;
  .image {
    position: relative;
    .price-change {
      opacity: 0.9;
      position: absolute;
      top: 10px;
      left: 10px;
      color: white;
      height: 60px;
      width: 60px;
      background-color: $priceColor;
      text-align: center;
      border-radius: 50%;
      @include normalFlex(column, center);
      align-items: center;
      & > div {
        line-height: 18px;
      }
      .new-price {
        font-size: 15px;
      }
      .old-price {
        text-decoration: line-through;
        font-size: 12px;
        opacity: 0.7;
      }
    }
  }

  .info {
    margin-top: 5px;
    font-size: 15px;
    padding: 0 10px;
    @include textMultiEllipsis();
    .coupon {
      font-size: 14px;
      display: inline-block;
      border: 1px solid $priceColor;
      color: $priceColor;
      margin-right: 5px;
    }
    .name {
      line-height: 18px;
      &:hover {
        text-decoration: underline;
      }
    }
  }

  .price {
    margin-top: 5px;
    color: $priceColor;
    text-align: center;
  }
}
